<?php
if(!defined('BASEPATH'))
	exit('No direct script access allowed');
	
class my404 extends CI_Controller
{
	public function __construct()
	{
		parent::__construct();
		
		$this->load->library('rest', array(
			'server' => REST_URL_RENTACAR
		));
		$this->data['hosting']=HOST_URL_RENTACAR;
		
		$this->load->library ( 'session' );
		$this->load->library('template');
		$this->load->helper('language');
		$this->load->helper('urlify');
		$this->lang->load ( 'common' );
		$this->lang->load('page');
		
		require_once("urlify.php");
		$this->load->library('translate', array('lang' => $this->lang->lang()));
		$this->template->set_view("page");

		$this->data['action_footer_1']=$this->rest->get('action1', NULL, 'json');
		$this->data['action_footer_2']=$this->rest->get('action2', NULL, 'json');
	}

	public function index()
	{
		$this->output->set_status_header('404');
		
		$this->data['title'] = lang ( 'title-page-404' );
		$this->data['description'] = lang ( 'description-page-404' );
		$this->template->load('errors/error_404', $this->data);
	}
}
?>